package com.zk.babala.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * 目录
 *
 * @Author: zhangke
 * @Date: 2022/4/11 17:31
 */
public class CategoryInfo {
    String title;
    String url;
    List<CategoryInfo> childList = new ArrayList<>();

    public CategoryInfo(String title, String url) {
        this.title = title;
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<CategoryInfo> getChildList() {
        return childList;
    }

    public void setChildList(List<CategoryInfo> childList) {
        this.childList = childList;
    }
}
